<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Please login</title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/reset.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/new_photoform.css" />
</head>

<body>
	<div id="centerContentLogin">
		<h1>Blog And Map Backoffice</h1>
		<?php
			$this->load->helper('form');
			echo form_open(base_url().index_page().'/formulaire');
			echo '<fieldset><legend>Please Login</legend>';
			echo '<p class="double"><label for="user">Login :</label>';
			$attributes = array('name' => 'login');
			echo form_input($attributes,'');
			echo '</p>';
			echo '<p class="double"><label for="password">Password :</label>';
			$attributes = array('name' => 'login');
			echo form_password($attributes,'');
			echo '</p>';
			if(isset($error_login))
			{
				echo '<p style="text-align:center; color:red">';
				echo $error_login;
				echo '</p>';
			}	
			echo '<p style="text-align:center">';
			echo form_submit('submit','Go !');
			echo '</p>';
			echo '</fieldset>';
			echo form_close();
		?>
	</div>
</body>
</html>
